# -*- coding: UTF-8 -*-


from readJson import ReadJson
config =ReadJson()
cf=config.system_config()
print(cf["encoding"])
print(cf["importDir_5MIN"])
print(cf["importDir_DAY"])
print(cf["exportDir"])


# 打开文件
fo = open("banner.txt", "r")
print("文件名为: ", fo.name)

for line in fo.readlines():                          #依次读取每行
    line = line.strip()                             #去掉每行头尾空白
    # print("读取的数据为: %s" % (line))
    print(line)

# 关闭文件
fo.close()